﻿using Company.IO.Interfaces;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Company.System.IO.IntegrationTests
{
    public partial class DirectoryTest : TestBase<IDirectory>
    {
        [TestMethod]
        public void Exists_PathValid_True()
        {
            //Arrange
            string path = SLocalPath;

            //Act
            bool actual = Directory.Exists(path);

            //Assert
            Assert.IsTrue(actual);
        }

        [TestMethod]
        public void Exists_PathNotExists_False()
        {
            //Arrange
            string path = ".\\Exists\\";

            //Act
            bool actual = Directory.Exists(path);

            //Assert
            Assert.IsFalse(actual);
        }
    }
}